home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss((((3333ddddmmmm)))) ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss - load and merge plugin resources with those of the
- parent application
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////ffffxxxx____uuuuttttiiiillllssss....hhhh>>>>
-
- DDDDMMMMssssttttaaaattttuuuussss ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss
- (((( ccccoooonnnnsssstttt cccchhhhaaaarrrr**** rrrrffff ))))
-
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _r_f The name of the X resource file.
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- To support internationalization it is desirable for all user interface
- strings to be defined in locale-specific X resource files.
- ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss is a utility function which plugins may use to merge
- their own X resource files with those of the current application.
- Plugins may use the merged resources to define a locale-specific name
- and, if desired, locale-specific labels for their own user interface
- components. Even if you only ever intend to support English it may still
- be desirable to use a resource file since it allows simple changes to the
- user interface without any need to recompile.
-
- Internationalized applications (such as Moviemaker) will search the
- merged resource database for a unique plugin identifier and use the value
- of that resource to replace _P_K__N_a_m_e in user-interface components.
-
- The unique plugin identifier is constructed from the plugin prefix, name
- and type as follows (with any non alpanumeric characters replaced by
- ``_''):
-
- _P_K__U_n_i_q_u_e_P_r_e_f_i_x ``_'' _P_K__N_a_m_e ``_Video_Filter''
-
- _P_K__U_n_i_q_u_e_P_r_e_f_i_x ``_'' _P_K__N_a_m_e ``_Video_Transition''
-
- _P_K__U_n_i_q_u_e_P_r_e_f_i_x ``_'' _P_K__N_a_m_e ``_Audio_Filter''
-
- _P_K__U_n_i_q_u_e_P_r_e_f_i_x ``_'' _P_K__N_a_m_e ``_Other''
-
- For example, if a video filter has a prefix of ``SGI'' and a name of
- ``Brightness & Contrast'' then the parent application will expect a
- resource line of the form:
-
- *SGI_Brightness___Contrast_Video_Filter: Brightness and Contrast
-
- If your plugin has a user interface you may also specifiy localized
- string labels for buttons and dialogs in _r_f - just be careful to
- sufficiently qualify the resource names so you don't interfere with any
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss((((3333ddddmmmm)))) ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss((((3333ddddmmmm))))
-
-
-
- resources which other plugins may specify. We recommended you use
- _P_K__U_n_i_q_u_e_P_r_e_f_i_x as part of the label for your dialog and specify that
- with every resource.
-
- ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss should be called in your _P_R_X__P_l_u_g_i_n_P_r_o_p_e_r_t_i_e_s
- function. This guarantees that resources will have been merged before
- the parent application searches the resource database for your localized
- plugin name.
-
- Plugin resource files should be located in:
-
- /usr/lib/X11/app-defaults/dmedia/plugins/premiere/_r_f
-
- with optional locale-specific versions in:
-
- /usr/lib/X11/$LANG/app-defaults/dmedia/plugins/premiere/_r_f
-
- ddddmmmmFFFFXXXXMMMMeeeerrrrggggeeeeRRRReeeessssoooouuuurrrrcccceeeessss searches for your resource file using the same rules
- as XXXXttttRRRReeeessssoooollllvvvveeeePPPPaaaatttthhhhnnnnaaaammmmeeee with a file type of ``app-
- defaults/dmedia/plugins/premiere''.
-
- For assistance in debugging set the plugin property _P_K__D_e_b_u_g_g_i_n_g to _T_r_u_e
- and observe messages printed to stderr.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
- Returns _D_M__S_U_C_C_E_S_S on success and _D_M__F_A_I_L_U_R_E otherwise.
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- dmPMGetLocalName(3dm), XtResolvePathname(Xt).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-